﻿//Da Lookup List
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CSharpDay12__Many_to_Many_.Models
{
    public class Ship_Cargoe
    {
        public int Id { get; set; }

        public int CargoeId { get; set; }

        public int ShipId { get; set; }

        //How many containers of a product that can be multiplied by the cargo weight to determine the total tonnage of the product being carried
        public int Containers { get; set; }

        //for many to many relationships. different than one to many which would use a LIST
        public virtual Ship Ship { get; set; }

        public virtual Cargoe Cargoe { get; set; }
    }
}